package com.java.common.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Computer entity. @author MyEclipse Persistence Tools
 */

public class Computer implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 4006914843855653583L;
	private String computerId;
	private Date buyTime;
	private String label;
	private String useStatus;
	private String healthStatus;
	private String remark;
	private Set<ComputerRoom> computerRooms = new HashSet<ComputerRoom>(0);

	// Constructors

	/** default constructor */
	public Computer() {
	}

	/** minimal constructor */
	public Computer(String computerId) {
		this.computerId = computerId;
	}

	/** full constructor */
	public Computer(String computerId, Date buyTime, String label,
			String useStatus, String healthStatus, String remark,
			Set<ComputerRoom> computerRooms) {
		this.computerId = computerId;
		this.buyTime = buyTime;
		this.label = label;
		this.useStatus = useStatus;
		this.healthStatus = healthStatus;
		this.remark = remark;
		this.computerRooms = computerRooms;
	}

	// Property accessors

	public String getComputerId() {
		return this.computerId;
	}

	public void setComputerId(String computerId) {
		this.computerId = computerId;
	}

	public Date getBuyTime() {
		return this.buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public String getLabel() {
		return this.label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getUseStatus() {
		return this.useStatus;
	}

	public void setUseStatus(String useStatus) {
		this.useStatus = useStatus;
	}

	public String getHealthStatus() {
		return this.healthStatus;
	}

	public void setHealthStatus(String healthStatus) {
		this.healthStatus = healthStatus;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set<ComputerRoom> getComputerRooms() {
		return this.computerRooms;
	}

	public void setComputerRooms(Set<ComputerRoom> computerRooms) {
		this.computerRooms = computerRooms;
	}

}